import request from "@/utils/request";
//新增地址
export const addAddress = (data) => request.post('/addressBook/save',data)

//获取所有地址
export const getAddressList = () => request.get('/addressBook/list')

//修改地址信息
export const updateAddress = (data) => request.put('/addressBook/update',data)

//删除地址信息
export const del = (id) => request.delete(`/addressBook/del/${id}`)